/* 内容脚本样式 */
#custom-clipboard-toolbar {
  position: fixed !important;
  top: 20px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  z-index: 10000 !important;
  display: flex;
  gap: 10px;
  padding: 8px;
  background: rgba(30, 30, 46, 0.9);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

#custom-clipboard-toolbar button {
  padding: 10px 16px;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  min-width: 120px;
  text-align: center;
}

#custom-clipboard-toolbar button:first-child {
  background: linear-gradient(135deg, #4361ee, #3a0ca3);
}

#custom-clipboard-toolbar button:first-child:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(67, 97, 238, 0.4);
}

#custom-clipboard-toolbar button:nth-child(2) {
  background: linear-gradient(135deg, #2ec4b6, #1a936f);
}

#custom-clipboard-toolbar button:nth-child(2):hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(46, 196, 182, 0.4);
}

#custom-clipboard-toolbar button:last-child {
  background: linear-gradient(135deg, #f72585, #b5179e);
}

#custom-clipboard-toolbar button:last-child:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(247, 37, 133, 0.4);
}

/* 通知样式 */
#custom-clipboard-toolbar *,
#saved-content-modal {
  box-sizing: border-box !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* 显示保存内容的模态框样式 */
#saved-content-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10002;
  background: rgba(30, 30, 46, 0.95);
  color: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  min-width: 300px;
  max-width: 80%;
  max-height: 80%;
  overflow-y: auto;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

#saved-content-modal h3 {
  margin-top: 0;
  margin-bottom: 15px;
  text-align: center;
  color: #2ec4b6;
}

#saved-content-modal-content {
  margin-bottom: 20px;
  word-wrap: break-word;
  white-space: pre-wrap;
  background: rgba(0, 0, 0, 0.2);
  padding: 10px;
  border-radius: 4px;
  max-height: 300px;
  overflow-y: auto;
}

#saved-content-modal-close {
  display: block;
  margin: 0 auto;
  padding: 8px 16px;
  background: linear-gradient(135deg, #2ec4b6, #1a936f);
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
}

#saved-content-modal-close:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(46, 196, 182, 0.4);
}

/* 响应式设计 - 在小屏幕上调整 */
@media (max-width: 768px) {
  #custom-clipboard-toolbar {
    gap: 6px;
    padding: 6px;
    top: 10px !important;
  }
  
  #custom-clipboard-toolbar button {
    padding: 8px 12px;
    font-size: 12px;
    min-width: 100px;
  }
  
  #saved-content-modal {
    padding: 15px;
    min-width: 250px;
  }
}